package com.example.utils;

import cn.hutool.core.lang.Snowflake;

public class SnowflakeGenerator  {
    private static final Snowflake snowflake = new Snowflake(0, 0);

    public static long generate() {
        return snowflake.nextId();
    }
}
